﻿using Authority.IServices.Model.Subsystem;
using Authority.PresentationModels.Subsystem;

namespace Authority.WebAPI
{
    /// <summary>
    /// 子系统模型映射
    /// </summary>
    public class SubsystemProfile : AutoMapper.Profile
    {
        /// <summary>
        /// 构造
        /// </summary>
        public SubsystemProfile()
        {
            CreateMap<AddSubsystemRequestModel, AddSubsystemModel>();
            CreateMap<EditSubsystemRequestModel, EditSubsystemModel>();
            CreateMap<QuerySubsystemRequestModel, QuerySubsystemModel>();
        }
    }
}
